home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Compression / macgzip_02 / README < prev    next >
Text File  |  1993-12-28  |  5KB  |  110 lines

  1. •  MacGzip 0.2 (gzip 1.2.4)
  2.  
  3.  This application is the GNU’s gzip for the Macintosh.
  4.  Works only with system 7.x or later (I guess)
  5.  
  6. •  Using MacGzip
  7.  
  8.  You can gzip files, but be careful; the resource fork will be lost. If you want gzip files with resource & info fork, use a macbinary translator first.
  9.  
  10.  When you gunzip a file, if the ascii option is selected, newlines will be converted.
  11.  
  12.  You can process files by opening them from "File" menu or by 'Drag&Drop' on MacGzip's closed icon.
  13.  In the first case the process (compress or uncompress) is the one selected in the “gzip” menu.
  14.  In the second case; it depends on the keyboard status (hold the selected key until a window pop's up):
  15.  
  16.         None:   The file will be uncompressed in binary or ascii mode depending on the prefs saved.
  17.         'option key': The file will be gziped (prefs won't be changed)
  18.         'a':  If you are uncompressing, force ascii mode (prefs won't be changed)
  19.         'b':  If you are uncompressing, force binary mode (prefs won't be changed)
  20.  
  21.  When the process ends,  in the first case MacGzip will quit if you have set this flag in the prefs dialog; in the second case, it will always quit.
  22.  
  23.  -Preferences:
  24.  
  25.   Suffix…  Is an optional suffix to use instead of '.gz'. If you are using the standard suffixes, let it empty.
  26.  
  27.   Compression Level is used when compressing.  The higher level, the slower and better compression. (gunzip does not use this setting.)
  28.     Hint: you can use cmd-arrow keys to change the level.
  29.  
  30.   Text creator…  Is the signature of files uncompressed in ascii mode.
  31.             
  32. -Notes:
  33.  
  34.  Cmd-period will raise a SIGINT (the program execution will terminate)
  35.  
  36.  When uncompressing large .Z files, the process ends a while after the grey bar is full
  37.  
  38. •  Tech. doc.
  39.  
  40.  I have changed most of the stderr & stdout outputs to Mac alerts. if in your screen flashes the console window, this is a bug (please, report to the address below)
  41.  
  42.  The menu “ascii” means “-a” option
  43.  The pref. Force… means “-f” option
  44.  The pref. Suffix... means "-S" option
  45.  When uncompressing, option -N is always on
  46.  
  47.  I have used the following file Types:
  48.    suffix  type   creator
  49.     .gz      Gzip     Gzip  gziped
  50.     .Z        ZIVU    Gzip  compressed (from maccompress)
  51.     .z        pZIP     Gzip  pkziped    (from UnZip 2.0.1)
  52.  Anyway, read GNU’s gzip.doc to find out about formats.
  53.  
  54.  The settings (Preferences and the gzip menu settings) are stored in the prefs folder. If you want to have two or more copies to perform different tasks, you can change the STR #128:
  55.  
  56.  Example: A copy called “gunzip -a” to use it as a grinder to gunzip text files (STR #128 = 'gunzip-a prefs'; for example).
  57.  
  58. •  About types & creators
  59.  
  60.     When you download a file from a non-mac host, the program that you are using to download must assign it two flags: File Type and File Creator.  These are two four character words that the Mac uses to know what icon they must have, what application must be opened when you make a double click on it, and if one SFGetFile (the 'open' dialog) should show the file or not.
  61.  
  62.     So, you should use a downloading application with a "suffix mapping" menu or preference, or at least, a drag&drop file typer.  You can find one, for example in
  63.         
  64. pinus.slu.se      
  65. /pub/mac/mirror-umich/util/diskfile/typeresolve2.01.cpt.hqx 0 0 
  66.  
  67. ftp.sunet.se      
  68. /pub/mac/mirror-umich/util/diskfile/typeresolve2.01.cpt.hqx 0 0 
  69.  
  70.   With this version of MacGzip, you don't need to use the correct type, but is a good idea to keep your files well typed.
  71.  
  72. • Warranty & so
  73.  
  74.     The guarantee is directly proportional to the price of the application: NONE. (OK, if you loose a very important file with 2.3 Mb of data, let me know it and I  will send you a few words of condolence).
  75.  
  76.  BTW: if you have uncompressed a text file in binary mode, you can recover it by compressing it again and uncompressing it as ascii.  But if you have uncompressed a binary file in ascii mode, you have lost the file.
  77.  
  78.   READ RIGHT NOW THESE FILES ON "gzip-1.2.4 sources":
  79.  
  80.     COPYING
  81.     gzip.doc
  82.     README
  83.  
  84. • Thanks to:
  85.  
  86.  Timothy Murphy ("tim@maths.tcd.ie" ) for Posix lib.
  87.  tree@uvm.edu for SpinCursors code
  88.  Greg Robbins for Prefs code
  89.  C.K. Haun (Apple DTS) for Movable Modal code
  90.  Dave Rubinic for Easy Errors 1.0 resources
  91.  Lloyd Chambers (MacCompress) for Icons idea
  92.  And all other people whose source code I used ‘for documentation’
  93.  
  94.  At last, thanks to myself
  95.     macspd@ivo.cps.unizar.es
  96.     jazz@ws4.cps.unizar.es
  97.     AppleLink: SPA0301
  98.  for being so nice company.
  99.  
  100. • REWARD 0.000.000 $
  101.   BUGS (dead or alive)
  102.  
  103.     ...porque ahora mismo puedo escuhar
  104.     cada latido de mi corazón
  105.     como el ritmo de una canción
  106.     que nunca empieza a sonar
  107.     En otoño...
  108.                               Surfin' bichos
  109.                   
  110.